package cn.edu.wynu.oop.day09;

/**
 * 用来学习”方法“的概念
 */
public class MethodLearn {
    public static void main(String[] args) {
        Hero xiaoQiao = new Hero(1000, 345); // ctrl + alt + v
        System.out.println(xiaoQiao.healthLife);
        xiaoQiao.attack();
    }
}
